package com.ship.dispatch.model.dto;

import com.ship.common.core.mapping.Label;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel("调度优化销售、补货Dto")
public class SchemeChartSellDto {

    /**
     * 方案详情ID
     */
    @ApiModelProperty(value = "方案详情ID")
    @NotNull(message = "方案详情ID不能为空")
    private Long schemeDetailId;

    /**
     * 操作类型（1：绑定销售合同，2：FOB补货，3：DES补货）
     */
    @ApiModelProperty(value = "操作类型（1：绑定销售合同，2：FOB补货，3：DES补货）")
    @NotNull(message = "操作类型不能为空")
    private Integer saveType;

    /**
     * 销售合同ID
     */
    @ApiModelProperty(value = "销售合同ID")
    private Long sellConId;

    /**
     * FOB补货方案详情ID
     */
    @ApiModelProperty(value = "FOB补货方案详情ID")
    private Long fobSchemeDetailId;

    /**
     * DES补货装载量
     */
    @ApiModelProperty(value = "DES补货装载量")
    private BigDecimal desGoodsQuantity;

    /**
     * DES补货装载量单位(1:MMBtu,2:m³,3:MT)
     */
    @ApiModelProperty(value = "DES补货装载量单位(1:MMBtu,2:m³,3:MT)")
    private Integer desQuantityUnit = 1;

    /**
     * DES补货采购价格
     */
    @ApiModelProperty(value = "DES补货采购价格")
    private BigDecimal desGoodsPrice;

    /**
     * DES补货货币单位(1:美元,2:人民币,3:欧元)
     */
    @ApiModelProperty(value = "DES补货货币单位(1:美元,2:人民币,3:欧元)")
    private Integer desPriceUnit = 1;
}
